package com.hoapital.outpbillwork.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hoapital.outpbillwork.module.entity.OutpBillItems;
import com.hoapital.outpbillwork.module.entity.OutpOrderDescTemp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author lvyao
 * @since 2021-02-25
 */
public interface OutpOrderDescTempMapper extends BaseMapper<OutpOrderDescTemp> {
    OutpOrderDescTemp getOrderTempDate(@Param("visitDate") String visitDate, @Param("visitNo") String visitNo);

    int deletTemp(@Param("visitDate") String visitDate, @Param("visitNo") String visitNo);

    String getBillUrl();

    int queryCountTemp(@Param("orderNo") String orderNo);
    int isValidOrderNo(@Param("orderNo") String orderNo);

    List<OutpBillItems> orderCheckStock(@Param("orderNo") String orderNo);

    int isVerifyPresc(@Param("orderNo") String orderNo);
}
